Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \input knuth { \blank[line] \setupwhitespace[none] \startnarrower \dontleavehmode\framed[ width=local, corner=03, background=color, backgroundcolor=cyan, frame

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
[line] \starttext \definetextbackground[secondary][ location=always, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \input knuth \startnarrower \dontleavehmode

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
t; > Hi all, > > Sorry, my solution didn’t work. > > My purpose of using \startnarrower is to have some paragraphs of text inside > the \framed. Unfortunately, it seems \framed doesn’t take paragraphs. > > \startframedtext doesn’t have as many border options as

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Sorry, my solution didn’t work. My purpose of using \startnarrower is to have some paragraphs of text inside the \framed. Unfortunately, it seems \framed doesn’t take paragraphs. \startframedtext doesn’t have as many border options as \framed. Should I use overlays? Or layers

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I got some progress! \setupnarrower[left=2cm, right=2cm] % what does middle do, actually? \startnarrower \dontleavehmode\framed[width=local]{testing} Since this works for left offset: \framed[width=local]{testing} \endnarrower So, how do I do a gradient background? Yeah, I know I

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Hans Hagen
On 8/21/2019 2:14 PM, Jon Wong wrote: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower \starttext Seems framed doesn’t observe startnarrower commands. \startnarrower \dontleavehmode \framed{testing} Seems framed doesn’t observe

[NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I want to have a \startnarrower effect. But I also want that segment to have a border (hopefully a gradient background color too!). I tried: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower How do I achieve that? Regards Jon

Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Henri Menke
On 1/04/19 9:22 AM, Hans Hagen wrote: > On 3/31/2019 10:13 PM, Henri Menke wrote: >> I see that the patch has been applied in current, but could you please also >> apply it in beta (which is what I and probably most others use daily)? > some time next week we continue with betas as curren tis now

Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Pablo Rodriguez
On 3/31/19 10:13 PM, Henri Menke wrote: > I see that the patch has been applied in current, but could you please also > apply it in beta (which is what I and probably most others use daily)? Hi Henri, I use beta and I update it with: ./first-setup.sh --modules=all At least my latest beta

Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Hans Hagen
On 3/31/2019 10:13 PM, Henri Menke wrote: I see that the patch has been applied in current, but could you please also apply it in beta (which is what I and probably most others use daily)? some time next week we continue with betas as curren tis now frozen for tex live (there is also 'latest'

Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Henri Menke
I see that the patch has been applied in current, but could you please also apply it in beta (which is what I and probably most others use daily)? Cheers, Henri On 6/03/19 12:12 PM, Henri Menke wrote: > Patch for the core file is attached. > > Cheers, Henri >

[NTG-context] Spurious space in \startnarrower

2019-03-05 Thread Henri Menke
Patch for the core file is attached. Cheers, Henri diff --git a/tex/context/base/mkiv/spac-hor.mkiv b/tex/context/base/mkiv/spac-hor.mkiv index 32b7f06fb..24c7c7893 100644 --- a/tex/context/base/mkiv/spac-hor.mkiv +++ b/tex/context/base/mkiv/spac-hor.mkiv @@ -717,7 +717,7 @@

Re: [NTG-context] \startnarrower

2018-12-20 Thread Wolfgang Schuster
Hans van der Meer schrieb am 20.12.18 um 14:15: Wolfgang, Your solution works, but repeats after every \par. The purpose was to have the very first line only as the one without the indent. I tried several parameters from \definedelimitedtext and from \setupindenting, but could not achieve

Re: [NTG-context] \startnarrower

2018-12-13 Thread Wolfgang Schuster
Hans van der Meer schrieb am 13.12.18 um 12:15: Is it possible to not indent the very first line of narrower content? Thus \startnarrower first line second line etc. \stopnarrower resulting in: first line     second line     etc. Use a negative value for the indentation of the paragraph

[NTG-context] \startnarrower

2018-12-13 Thread Hans van der Meer
Is it possible to not indent the very first line of narrower content? Thus \startnarrower first line second line etc. \stopnarrower resulting in: first line second line etc. dr. Hans van der Meer

[NTG-context] Linenumbering and startnarrower

2014-03-28 Thread Rik Kabel
with linenumbering. I will present these in separate notes. This note involves an unfortunate interaction with startnarrower. The other problem involves bidi. Both issues occur with the current 20140328 beta. Placing one of the examples in Stéphane's message into a startnarrower environment

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Rudolf Bahr
own layout for the section entries in the TOC because this way you don’t reset the margins added by \startnarrower. Wolfgang Hello Wolfgang, ok, I shall look for a workaround. Thank you for your explanation! Rudolf

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Hans Hagen
entries in the TOC because this way you don’t reset the margins added by \startnarrower. Wolfgang we can do this: \startsetups[\??listrenderings:abc] \endgraf % are we grouped? \advance\leftskip\listparameter\c!margin % after \endgraf ! but it needs testing Hans

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Wolfgang Schuster
2014/1/23 Hans Hagen pra...@wxs.nl we can do this: \startsetups[\??listrenderings:abc] \endgraf % are we grouped? \advance\leftskip\listparameter\c!margin % after \endgraf ! but it needs testing I don’t think this is an option because it will change the layout of the TOC in

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Hans Hagen
On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl we can do this: \startsetups[\??__listrenderings:abc] \endgraf % are we grouped? \advance\leftskip\__listparameter\c!margin % after \endgraf ! but it needs

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Hans Hagen
On 1/23/2014 10:24 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl mailto:pra...@wxs.nl mailto:pra...@wxs.nl we can do

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Wolfgang Schuster
2014/1/23 Hans Hagen pra...@wxs.nl On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl we can do this: \startsetups[\??__listrenderings:abc] \endgraf % are we grouped?

[NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-22 Thread Rudolf Bahr
Hello listmembers, ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2014.1.6 I'm typesetting a book in A4 landscape and would like to indent the TOC at both sides. I tried two solutions which both didn't work as expected. 1. attempt with \startnarrower[left,right] \completecontent

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-22 Thread Wolfgang Schuster
don’t reset the margins added by \startnarrower. Wolfgang On 22.01.2014 12:05:33, Rudolf Bahr qu...@quasi.de wrote: Hello listmembers, ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2014.1.6 I'm typesetting a book in A4 landscape and would like to indent the TOC at both sides. I tried two

Re: [NTG-context] setupnarrower and startnarrower

2013-08-07 Thread Hans Hagen
, but I was wondering about the standard \startnarrower. Many (some) commands allow setup assignments, the use of which overides but does not change the default. This is a very useful feature of ConTeXt that suggest could be generalized. \startnarrower is but one example. Changing the command

[NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Alan BRASLAU
Hello, Could (should) startnarrower be modified to accept setup assignments? As in: \startnarrower [before=\blank,after=\blank] or \startnarrower [left=3cm] [left] etc. Alan ___ If your question is of interest

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Wolfgang Schuster
Am 06.08.2013 um 15:11 schrieb Alan BRASLAU alan.bras...@cea.fr: Hello, Could (should) startnarrower be modified to accept setup assignments? As in: \startnarrower [before=\blank,after=\blank] or \startnarrower [left=3cm] [left] etc. \usemodule[annotation] \defineannotation

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Alan BRASLAU
Thank you Wolfgang, but I was wondering about the standard \startnarrower. Many (some) commands allow setup assignments, the use of which overides but does not change the default. This is a very useful feature of ConTeXt that suggest could be generalized. \startnarrower is but one example

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Wolfgang Schuster
Am 06.08.2013 um 16:09 schrieb Alan BRASLAU alan.bras...@cea.fr: Thank you Wolfgang, but I was wondering about the standard \startnarrower. Many (some) commands allow setup assignments, the use of which overides but does not change the default. This is a very useful feature of ConTeXt

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Aditya Mahajan
On Tue, 6 Aug 2013, Wolfgang Schuster wrote: Am 06.08.2013 um 16:09 schrieb Alan BRASLAU alan.bras...@cea.fr: Thank you Wolfgang, but I was wondering about the standard \startnarrower. Many (some) commands allow setup assignments, the use of which overides but does not change the default

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Wolfgang Schuster
Am 06.08.2013 um 17:53 schrieb Aditya Mahajan adit...@umich.edu: On Tue, 6 Aug 2013, Wolfgang Schuster wrote: Am 06.08.2013 um 16:09 schrieb Alan BRASLAU alan.bras...@cea.fr: Thank you Wolfgang, but I was wondering about the standard \startnarrower. Many (some) commands allow setup

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Aditya Mahajan
\startnarrower. Many (some) commands allow setup assignments, the use of which overides but does not change the default. This is a very useful feature of ConTeXt that suggest could be generalized. \startnarrower is but one example. Changing the command is simple but I would drop the second argument

[NTG-context] \startnarrower and ToC

2013-02-07 Thread Markus Finke
Hi, \startnarrower doesn’t work for the left margin in lists. What is wrong in my minimal example? TIA! \starttext \startnarrower [5*middle] % 5*left,5*right \placecontent [criterium=local] \stopnarrower \part{First part} \chapter{Chapter one} \chapter{Chapter two} \chapter{Chapter

Re: [NTG-context] \startnarrower and ToC

2013-02-07 Thread Marco Patzer
On 2013–02–07 Markus Finke wrote: \startnarrower doesn’t work for the left margin in lists. What is wrong in my minimal example? I did not check why it doesn't work. But to add a left margin you can use: \setuplist [margin=3cm] Marco signature.asc Description: Digital signature

[NTG-context] [***SPAM***] Re: \startnarrower and ToC

2013-02-07 Thread Markus Finke
I did not check why it doesn't work. But to add a left margin you can use: \setuplist [margin=3cm] Yes, it’s possible to fix it on this way. But what is the right conversion of 1*left in mm/em? ___ If your

Re: [NTG-context] [***SPAM***] Re: \startnarrower and ToC

2013-02-07 Thread Marco Patzer
Yes, it’s possible to fix it on this way. But what is the right conversion of 1*left in mm/em? left, middle and right depend on the font size: left=1.5\emwidth right=1.5\emwidth which means for your example: \setuplist [margin=7.5em] Marco signature.asc Description: Digital

Re: [NTG-context] \startnarrower and ToC

2013-02-07 Thread Wolfgang Schuster
Am 07.02.2013 um 13:22 schrieb Marco Patzer home...@lavabit.com: On 2013–02–07 Markus Finke wrote: \startnarrower doesn’t work for the left margin in lists. What is wrong in my minimal example? I did not check why it doesn't work. But to add a left margin you can use: \setuplist

[NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
Hi, my goal is to make a table that is as wide as the current \startnarrower ... \stopnarrower part (thanks to the answer to this question on tex.stackexchange.com: http://tex.stackexchange.com/q/3381/243

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Wolfgang Schuster
Am 23.09.2010 um 10:14 schrieb Patrick Gundlach: Hi, my goal is to make a table that is as wide as the current \startnarrower ... \stopnarrower part (thanks to the answer to this question on tex.stackexchange.com: http://tex.stackexchange.com/q/3381/243

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
Hello Wolfgang, Use the “textwidth” key but keep in mind with the linecorrection you can use split tables, for tables which use indent from \startnarrower and split across pages you can use tabulate. I am afraid I don't get the full meaning of your answer. When I use tabulate, I have

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Wolfgang Schuster
Am 23.09.2010 um 10:48 schrieb Patrick Gundlach: Hello Wolfgang, Use the “textwidth” key but keep in mind with the linecorrection you can use split tables, for tables which use indent from \startnarrower and split across pages you can use tabulate. I am afraid I don't get the full

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
Hello Wolfgang, Sorry but i don’t know what you mean, in my example the tabulate has the same width as the text in the narrower environment. Insert an \HL and you'll see that this a bit strange. \starttext \input knuth \startnarrower \input knuth \starttabulate[|p|p|] \HL

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Wolfgang Schuster
Am 23.09.2010 um 11:00 schrieb Patrick Gundlach: Hello Wolfgang, Sorry but i don’t know what you mean, in my example the tabulate has the same width as the text in the narrower environment. Insert an \HL and you'll see that this a bit strange. You can use \HR, it has more spacing before

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
You can use \HR, it has more spacing before and after the line but it works correct in narrower text and itemize. Sorry for the stupid question, but how do I use \HR? \starttabulate[|p|p|] \HR \NC \input ward \NC \input zapf \NC\NR \HR \stoptabulate gives me a misplaced noalign. Patrick

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Wolfgang Schuster
Am 23.09.2010 um 11:27 schrieb Patrick Gundlach: You can use \HR, it has more spacing before and after the line but it works correct in narrower text and itemize. Sorry for the stupid question, but how do I use \HR? \starttabulate[|p|p|] \HR \NC \input ward \NC \input zapf \NC\NR

[NTG-context] \startnarrower as \abstract in LaTeX and bottom layer as footnote without markers

2010-08-12 Thread Xan
Hi, I try to duplicate this [http://arxiv.org/abs/0901.1458] article to ConTeXt. The original article was written in LaTeX. I have to troubles in this duplication: - abstract: I emulate LaTeX abstract environment with \startnarrower ... \stopnarrower, as this [http://wiki.contextgarden.net

Re: [NTG-context] \startnarrower as \abstract in LaTeX and bottom layer as footnote without markers

2010-08-12 Thread Wolfgang Schuster
Am 12.08.10 17:29, schrieb Xan: Hi, I try to duplicate this [http://arxiv.org/abs/0901.1458] article to ConTeXt. The original article was written in LaTeX. I have to troubles in this duplication: - abstract: I emulate LaTeX abstract environment with \startnarrower ... \stopnarrower

[NTG-context] startnarrower

2009-10-03 Thread Wolfgang Schuster
Hi Hans, here is a new attempt to get a more generalized version of the startnarrower macros, now mkiv only. Wolfgang \unprotect \def\narrowerparameter #1{\csname\donarrowerparameter{\??sl \@@narrower}#1\endcsname} \def\donarrowerparameter #1#2{\ifcsname#1#2\endcsname#1#2

Re: [NTG-context] sections, subsections, indenting, startnarrower, alignment

2009-05-26 Thread Amaël Broustet
with... --- \definehead[mysubject][subject] \defineframed[lrframe][ width=\localhsize, align=normal, rulethickness=1pt] \setuphead[mysubject][style={\bf}] \define[3]\CHRONSUBJ {\mysubject{\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower} \showframe[text

[NTG-context] sections, subsections, indenting, startnarrower, alignment

2009-05-26 Thread afsmith
{\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower} \showframe[text] \starttext \CHRONSUBJ {This happened from June 08 to June 09} {06/08--06/09} {\CHRONSUBJ {This happened from June 08 to December 08} {06/08--12/08} {\input tufte

[NTG-context] sections, subsections, indenting, startnarrower, alignment

2009-05-22 Thread afsmith
{\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower} \showframe[text] \starttext \CHRONSUBJ {This happened from June 08 to June 09} {06/08--06/09} {\CHRONSUBJ {This happened from June 08 to December 08} {06/08--12/08} {\input tufte } \CHRONSUBJ

Re: [NTG-context] setup/startnarrower question

2009-04-09 Thread Wolfgang Schuster
Am 08.04.2009 um 16:52 schrieb frantisek holop: hi there, what would be the equivalent of the following \startnarrower[2*left,0*right] \stopnarrower using \setupnarrower ? not possible my problem is that \setupnarrower takes dimensions, while \startnarrower takes... i am not sure what

[NTG-context] setup/startnarrower question

2009-04-08 Thread frantisek holop
hi there, what would be the equivalent of the following \startnarrower[2*left,0*right] \stopnarrower using \setupnarrower ? my problem is that \setupnarrower takes dimensions, while \startnarrower takes... i am not sure what actually... \startnarrower[..,...,..] ... \stopnarrower ... n

Re: [NTG-context] problem with \startnarrower (?)

2006-11-22 Thread Alan Bowen
definitions for setting extracts in the body text. \defineblank[extractdistance][3pt] \definestartstop[extract][ before={[extractdistance] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank

Re: [NTG-context] Lettrine and \startnarrower question

2006-01-29 Thread Taco Hoekwater
Adrian Drury wrote: Hello, Using \lettrine (version 2005.08.29) inside \startnarrower\stopnarrower gives results I didn't expect - see the example below. Part of the text seems to be shifted right by an additional left-indent amount. Is this correct and/or expected behavior

[NTG-context] Lettrine and \startnarrower question

2006-01-28 Thread Adrian Drury
Hello,Using \lettrine (version 2005.08.29) inside \startnarrower\stopnarrower gives results I didn't expect - see the example below. Part of the text seems to be shifted right by an additional left-indent amount. Is this correct and/or expected behavior? If it is, is there a workaround to shift